<* include file=$header_file *> 
<script type="text/JavaScript">
	if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='Field&nbsp;&raquo;&nbsp;<* $title *>';if(parent.$('add2custom')) parent.$('add2custom').innerHTML='<* $title *>';
</script>
<div class="itemtitle">
  <h3><* $title *>&nbsp;&raquo;&nbsp;Add Field
    <input  type="button" value="  Refresh " class="btn" onClick="window.location.reload()"/>
    &nbsp;&nbsp;
    <input  type="button" value=" Back to List " class="btn" onClick="history.back();"/>
  </h3>
</div>
<form action="/<*$controller*>/opadd" method="post"  name="press_form" id="press_form" onsubmit="this.submitbutton.disabled=true;">
  <table class="tb tb2 ">
    <tr>
      <th  class="partition" colspan="3">Field Detail</th>
    </tr>
    <tr>
		<td class="vtop td22"><span class="red">*</span>Field Type</td>
		<td class="vtop rowform">
				<select class="select" name="field_type">
					<option value="" />Select a Field Type</option> 				
					<* foreach  from=$field_type item=field_name key=field_ID *>					
						<option value="<* $field_name *>" /><* $field_name *></option>        
					<* /foreach *>
				</select>		
		</td>
		<td class="vtop tips2">&nbsp;&nbsp;</td>
    </tr>
    <tr>
		<td class="vtop td22"><span class="red">*</span>Field Name</td>
		<td class="vtop rowform"><input name="field_name" id="field_name" type="text" size="80" /></td>
		<td class="vtop tips2">&nbsp;&nbsp;</td>
    </tr>
    <tr>
		<td class="vtop td22"><span class="red">*</span>Field Order</td>
		<td class="vtop rowform"><input name="field_order" id="field_order" type="text" size="10" /></td>
		<td class="vtop tips2">&nbsp;&nbsp;</td>
    </tr>	
    <tr>
      <td colspan="3" class="td27"><input name="submitbutton" type="submit" value=" Save " class="btn"/>
        &nbsp;&nbsp;
        <input  type="button" value=" Back to List " class="btn" onClick="history.back();"/></td>
    </tr>
  </table>
</form>
<* include file=$bottom_file *>